<extend name="Public/base"/>

<block name="body">
	  <div class="main-title">
		    <h2>活动管理</h2>
	  </div>

    <div class="tools">
        <a class="btn" href="{:U('Act/add')}">新增</a>
    </div>
	  <!-- 数据列表 -->
	  <div class="data-table">
        <div class="data-table table-striped">
            <table class="">
                <thead>
                    <tr>
		                    <th class="">编号</th>
		                    <th class="">名称</th>
		                    <th class="">状态</th>
		                    <th class="">操作</th>
		                </tr>
                </thead>
                <tbody>
	                  <notempty name="_list">
		                    <volist name="_list" id="vo">
		                        <tr>
			                          <td>{$vo.id} </td>
			                          <td><a data-id="{$vo.id}" href="{:U('act/edit?id='.$vo['id'])}">{$vo.title}</a></td>
			                          <td>{$vo.status_text}</td>
			                          <td>
				                            <a href="{:U('act/edit?id='.$vo['id'])}">编辑</a>
				                            <a href="{:U('act/del?id='.$vo['id'])}" class="confirm ajax-get">删除</a>
                                </td>
		                        </tr>
		                    </volist>
		                    <else/>
		                    <td colspan="7" class="text-center"> aOh! 暂时还没有内容! </td>
		                </notempty>
	              </tbody>
            </table>

        </div>
    </div>
    <div class="page">
        {$_page}
    </div>
</block>

<block name="script">
	<script type="text/javascript">
	</script>
</block>
